export default {
  sys:{
    "test":"test",
    "components": {
      "upload": {
        "clickToUploadFile": "Click to upload file",
        "clickToUploadImage": "Click to upload image",
        "download": "Download",
        "delete": "Delete",
        "fileSizeLimit": "File size cannot exceed {size}MB",
        "uploadFail": "Upload failed, please try again"
      },
      "searchbox": {
        "expand": "Expand",
        "collapse": "Collapse",
        "search": "Search",
        "reset": "Reset",
        "pleaseInput": "Please input {name}",
        "pleaseSelect": "Please select {name}",
        "start": "Start",
        "end": "End",
        "to": "To"
      }
    },
    userPage:{
      // 用户列表页面
      pageTitle: "User Management",
      // 表格列标题
      columns: {
        id: "ID",
        username: "Username",
        realName: "Real Name",
        phone: "Phone",
        email: "Email",
        updatedAt: "Update Time",
        enabled: "Enabled",
        operation: "Operation"
      },
      // 状态文本
      status: {
        enabled: "Yes",
        disabled: "No",
        enable: "enable",
        disable: "disable"
      },
      // 重置密码对话框
      resetPwdDialog: {
        title: "Reset password for {username}",
        successMessage: "You have reset the password for user {username}"
      },
      // 对话框消息
      dialog: {
        addSuccess: "You have added data for user {username}, default password is devops.123",
        editSuccess: "You have edited data for user {username}",
        confirmChangeStatus: "Confirm to <strong>{status}</strong> <strong style='color:var(--el-color-primary)'>{username}</strong>?",
        systemPrompt: "System Prompt",
        statusChanged: "User {username} has been {status}",
        confirmDelete: "Are you sure to delete user {username}?",
        deleteSuccess: "You have deleted data for user {username}"
      },
      searchForm: {
        username: "Username",
        status: "Status",
        placeholder: {
          username: "Please enter username",
          status: "Please select status"
        }
      },
      statusOptions: {
        enabled: "Enabled",
        disabled: "Disabled"
      },
      table: {
        emptyText: {
          noData: "No data",
          noPermission: "Permission denied"
        },
        operation: {
          resetPwd: "Reset Password",
          edit: "Edit",
          delete: "Delete",
          confirmDelete: "Are you sure you want to delete the user with username {username}?"
        }
      },
      // 部门树
      deptTree: {
        searchPlaceholder: "Please enter department name",
        expandAll: "Expand All",
        collapseAll: "Collapse All"
      },
      // 新增/编辑表单
      form: {
        addUser: "Add User",
        editUser: "Edit User",
        resetPassword: "Reset Password, {username}",
        username: "Username",
        realName: "Real Name",
        deptId: "Department",
        roleIds: "Role",
        phone: "Phone Number",
        email: "Email",
        placeholder: {
          username: "Please enter username",
          realName: "Please enter real name",
          deptId: "Please select department",
          roleIds: "Please select role",
          phone: "Please enter phone number",
          email: "Please enter email"
        }
      },
      // 重置密码表单
      resetPwdForm: {
        password: "Password",
        confirmPassword: "Confirm Password",
        placeholder: {
          password: "Please enter password",
          confirmPassword: "Please confirm password"
        },
        rules: {
          passwordRequired: "Please enter password",
          passwordFormat: "Password should be 8-24 characters, including at least two of: numbers, letters, symbols",
          confirmPasswordRequired: "Please confirm password",
          passwordNotMatch: "Passwords do not match"
        }
      }
    },
    rolePage:{
      pageTitle: "Role Management",
      // 搜索表单
      searchForm: {
        nameOrCode: "Role Name/Code:",
        placeholder: "Please input role name/code"
      },
      // 按钮文本
      buttons: {
        search: "Search",
        reset: "Reset",
        addRole: "Add Role",
        modify: "Modify",
        delete: "Delete",
        save: "Save",
        confirm: "Confirm",
        cancel: "Cancel"
      },
      // 表格列标题
      columns: {
        id: "ID",
        name: "Name",
        code: "Code",
        updatedAt: "Update Time",
        operation: "Operation"
      },
      // 表格状态文本
      table: {
        emptyText: "No data",
        noPermission: "Insufficient permissions"
      },
      // 对话框相关
      dialog: {
        addTitle: "Add Role",
        editTitle: "Edit Role",
        deleteConfirm: "Are you sure to delete the data with name {name}?",
        addSuccess: "You have added the data with name {name}",
        editSuccess: "You have edited the data with name {name}",
        deleteSuccess: "You have deleted the data with name {name}"
      },
      // 表单相关
      form: {
        name: "Name",
        code: "Code",
        placeholder: {
          name: "Please input role name",
          code: "Please input role code"
        },
        rules: {
          nameRequired: "Name is required",
          codeRequired: "Code is required"
        }
      },
      // 权限树相关
      permissionTree: {
        title: "Role Permissions",
        noRoleSelected: "No role selected",
        searchPlaceholder: "Please input keywords to search",
        save: "Save"
      }
    },
    deptPage:{
      pageTitle: "Department",
      searchForm: {
        name: "Department Name:",
        placeholder: "Please enter department name"
      },
      buttons: {
        search: "Search",
        reset: "Reset",
        add: "Add Department",
        addChild: "Add",
        edit: "Edit",
        delete: "Delete"
      },
      columns: {
        name: "Department Name",
        rank: "Rank",
        updatedAt: "Update Time",
        operation: "Operation"
      },
      table: {
        emptyText: "No data",
        noAuth: "Insufficient permissions"
      },
      dialog: {
        addTitle: "Add Department",
        editTitle: "Edit Department",
        deleteConfirm: "Are you sure to delete the department named {name}?",
        addSuccess: "You have added the department named {name}",
        editSuccess: "You have edited the department named {name}",
        deleteSuccess: "You have deleted the department named {name}"
      },
      form: {
        parentId: "Parent Department",
        name: "Department Name",
        rank: "Rank",
        placeholder: {
          parentId: "Please select parent department",
          name: "Please enter department name"
        },
        rules: {
          nameRequired: "Department title is required",
          rankRequired: "Rank is required"
        }
      }
    }
  }
}
